<?php

/*
|--------------------------------------------------------------------------
| Auth Routes
|--------------------------------------------------------------------------
|
 */

$router->post('login', [
    'uses' => 'AuthController@login'
]);

$router->get('info', [
    'uses' => 'AuthController@getUserInfo'
]);

$router->delete('logout', [
    'uses' => 'AuthController@logout'
]);

// $router->put('status', [
//     'uses' => 'AuthController@start'
// ]);

$router->get('key', [
    'uses' => 'AuthController@getPublicKey'
]);
